let $http = axios.create({
    baseURL:'',
    timeout:5000
})

$http.defaults.headers.common['Access-Control-Allow-Origin'] = '*'

function wrapForm(obj){
    let form = new FormData();
    for (let key of Object.keys(obj)) {
        form.append(key,obj[key])
    }
    return form
}